// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import App from './App'
import routers from './config/router'
import Router from 'vue-router'
import axios from 'axios'
import echarts from 'echarts'
import store from './store/index'
import iView from 'iview';
import 'iview/dist/styles/iview.css';

import $ from 'jquery'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min.js'
import '@/assets/js/jquery-ui.min.js' 
import '@/assets/js/echarts.js'
import '@/assets/css/style.css'
import '@/assets/css/icons.css'
import '@/assets/css/index.css'
import '@/assets/css/form.css'

Vue.use(iView);
Vue.use(Router);

Vue.prototype.$echarts = echarts;

Vue.prototype.$axios = axios;
Vue.config.productionTip = false

//路由
const router = new Router({
    routes: routers
})


new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
}).$mount('#app')